#include "rclcpp/rclcpp.hpp"
#include <chrono>

class Node02:public rclcpp::Node{
public:
    Node02(std::string name):Node(name){
        RCLCPP_INFO(this->get_logger(),"hello everyone ,I am %s",name.c_str());
        //std::this_thread::sleep_for(std::chrono::seconds(120));
        RCLCPP_INFO(this->get_logger(),"out put over...");
    }
};

int main(int argc,char** argv){
    rclcpp::init(argc,argv);
    auto node=std::make_shared<Node02>("node_02");
    rclcpp::spin(node);
    rclcpp::shutdown();
    return 0;
}